'''
Created on 2010/12/07

@author: yukiyonezawa
'''
class WriteResponses(object):
    
    COMPLETION_CODE_NO_ERROR = 0
    COMPLETION_CODE_OBJECT_NOT_ADDED = 9
    COMPLETION_CODE_DUPLICATE_OBJECT = 10
    COMPLETION_CODE_OBJECT_ADDED_BUT_NOT_LOCKED = 11
    
    __slots__ = ['OBJECT_IDENTIFIER', 'COMPLETION_CODE']
        
    def __init__(self, objectIdentifier, completionCode):
        self.OBJECT_IDENTIFIER = objectIdentifier
        self.COMPLETION_CODE = completionCode
        
    